package beans;

/**
 * TODO：
 *
 * @Author DYH
 * @Version 1.0
 * @Time 2021/03/31 20:42
 **/
public class Car {
    private String band;
    private String price;

     public Car() {
     }

     public Car(String band, String price) {
          this.band = band;
          this.price = price;
     }

     /**
      * 获取
      * @return band
      */
     public String getBand() {
          return band;
     }

     /**
      * 设置
      * @param band
      */
     public void setBand(String band) {
          this.band = band;
     }

     /**
      * 获取
      * @return price
      */
     public String getPrice() {
          return price;
     }

     /**
      * 设置
      * @param price
      */
     public void setPrice(String price) {
          this.price = price;
     }

     public String toString() {
          return "Car{band = " + band + ", price = " + price + "}";
     }
}

